package com.thoughtservice.jspdoc.output;

public enum JSPPageEnum {

	LINKS_TO("Links To", 0,  new String[]{"Name", "Description"}),
	LINKSFROM("Links From", 1,  new String[]{"Name", "Description"}),
	S_INCLUDES("Statically Includes", 2, new String[]{"Name", "Description"}),
	S_INCLUDEDIN("Statically Included In", 3,  new String[]{"Name", "Description"}),
	REDIRECTS("Redirects To", 4, new String[]{"Name", "Description"}),
	D_INCLUDES("Dynamically Includes", 5,  new String[]{"Name", "Description"}),
	D_INCLUDEDIN("Dynamically Included In", 6,  new String[]{"Name", "Description"}),
	LINKSTOFORM("Form Link To", 7, new String[]{"Name", "Description"}),
	ERRORPAGE("Error Page", 8, new String[]{"Name", "Description"}),
	TILE_INSERTS("Used as Tile in", 9,  new String[]{"Tile Name", "Path"}),
	TILE_INSERTS_INPAGE("Tile Inserts in page", 10, new String[]{"Tile Name", "Path"}),
	IMPORTS("Imports",11, new String[]{"Imports", "Description"}),
	PARAMETERS("Parameters",12, new String[]{"Name","Type","Source", "Description"});
	
	
	private String name;
	private String[] attrs;
	
	private JSPPageEnum(String name, int value, String[] attrs) {
		this.name = name;
		this.attrs = attrs;
	}
	
	public String getName() {
		return name;
	}
	
	public String[] columnDescriptions(){
		return attrs;
	}
	
}
